package com.qf.mapper;

import com.qf.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author zhaojian
 */
public interface UserMapper {

    public List<User> findUserAll();

    @Select("select * from t_users where id=#{id}")
    public User findOne(@Param("id") Integer id);
}